package com.wss.day02.test01;

import static sun.text.normalizer.UCharacter.getAge;

/**
 * @author wangshaoshuai
 * @desc TODO
 * @date 2025/4/21
 */
public class Worker extends Person  {
    public Worker(String name,int age){
        super(name,age);
    }
    public void work() {
        System.out.println("有个工人叫"+getName()+","+getAge()+"岁，正在工作");
    }
}
